<template>
  <div class="colorful-egg">
    <h1 class="page-title">这是一个彩蛋页面，用于展示小组成员</h1>
    <div class="content">
      <img :src="require('@/assets/img/team.jpg')" class="team-img"/>
    </div>
    <div class="middle">
      <h1 class="team-title">小组成员</h1>
      <div class="experience-content">
        <p>在DLNU干活的<br>yj,<br>wyn,<br>sxy,<br>mcy,<br>ly</p>
      </div>
    </div>
    <router-link to="/home" class="back-home">返回首页</router-link>
  </div>
</template>

<script>
export default {
  name: 'ColorfulEgg'
} 
</script>

<style scoped>
.colorful-egg {
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}


.page-title {
  font-family: "STZhongsong", "华文中宋", "SimSun", serif;
  color: #333;
  margin-bottom: 2rem;
  display: inline-block;
  position: relative;
  padding-bottom: 10px; 
}

.page-title::after {
  content: '';
  position: absolute;
  left: -25px; 
  bottom: 0;
  width: calc(100% + 50px);
  height: 1px;
  background-color:rgb(122, 139, 143);
}

.team-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.team-title {
  font-family: "STZhongsong", "华文中宋", "SimSun", serif;
  color: #166d80;
  margin: 1.5rem 0;
  padding-bottom: 10px;
  position: relative;
}

.team-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 200px;
  height: 1px;
  background-color:rgb(122, 139, 143);
  transform: translateX(-50%); 
}

.experience-content {
  font-size: 1.1rem;
  line-height: 1.6;
}

.back-home {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 25px;
  background: #166d80;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s;
  font-size: 1rem;
}

.back-home:hover {
  background: #0e5666;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
</style>